#nullable enable

using System;
using Volo.Abp.Domain.Entities;

namespace PHMEE.EnergyEfficiency;

public class TimeSeriesTombstones : Entity<int>
{
    public DateTime Ts { get; set; }

    public Guid VesselId { get; set; }

    public SyncDataType SyncDataType { get; set; }

    public DateTime DeletedAt { get; set; }

    public TimeSeriesTombstones(DateTime ts, Guid vesselId, SyncDataType syncDataType, DateTime deletedAt)
    {
        Ts = DateTime.SpecifyKind(ts, DateTimeKind.Utc);
        VesselId = vesselId;
        SyncDataType = syncDataType;
        DeletedAt = deletedAt;
    }
}